/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.util.bdfparser.entities.comparator;

import com.comac.ins.isfd.util.bdfparser.entities.bdf.rawdata.RawDataLine;
import lombok.Data;

import java.util.List;

/**
 * BDF对比结果实体类
 */
@Data
public class BDFCompareResult {

    /**
     * 基本信息 - 文件名1
     */
    private String oldFileName;

    /**
     * 基本信息 - 文件名2
     */
    private String newFileName;

    /**
     * 新增卡片
     */
    private List<RawDataLine> addedCards;

    /**
     * 删除卡片
     */
    private List<RawDataLine> removedCards;

    /**
     * 修改卡片
     */
    private List<ModifiedCard> modifiedCards;

    @Data
    public static class ModifiedCard {
        private List<RawDataLine> newRawDataLine;
        private List<RawDataLine> oldRawDataLine;
    }
}
